//
//  ADJgSDKRewardVodAdContainer.h
//  AnyThinkSDKDemo
//
//  Created by 刘娟 on 2024/9/24.
//  Copyright © 2024 抽筋的灯. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <ADJgSDK/ADJgSDKRewardvodAd.h>
@class ADJgSDKRewardVodAdContainer;
NS_ASSUME_NONNULL_BEGIN
@protocol ADJgSDKRewardVodAdContainerDelegate <NSObject>
/**
 *  激励视频广告素材加载成功
 */
- (void)jgsdkContainer_jgsdkRewardVodAdDidLoad:(ADJgSDKRewardVodAdContainer *)RewardVodAd withPrice:(NSInteger)bidPrice;

/**
 *  激励视频广告请求失败
 */
- (void)jgsdkContainer_jgsdkRewardVodAdFailLoadError:(NSError *)error;

@end

@interface ADJgSDKRewardVodAdContainer : NSObject

@property (nonatomic, weak)id<ADJgSDKRewardVodAdContainerDelegate> containerDelegate;

@property (nonatomic, weak)id<ADJgSDKRewardvodAdDelegate> delegate;

/// 初始化容器
- (instancetype)initPosId:(NSString *)posId delegate:(id<ADJgSDKRewardvodAdDelegate>)delegate;

/// 加载
- (void)loadRewardVodAd;

/// 展示
- (void)showRewardVodAdWithRootViewController:(UIViewController *)controller;

/// 销毁
- (void)close;

///获取竞价价格
- (NSInteger)getBidPrice;

@end

NS_ASSUME_NONNULL_END
